﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HarveyNash.RefactoringAndCodeSmell.Refactoring.IntroduceParameterObject
{
    class Before
    {
        public bool CandidateRejected(int iqScore, int englishScore, int technicalScore)
        {
            if (iqScore < 100 || englishScore < 2 || technicalScore < 3)
               return true;
            if (iqScore > 120 && (englishScore * 2 + technicalScore) / 3 >= 5)
                return false;
            return true;
        }
    }
}
